package com.dream.technology.service.impl;

import com.dream.technology.db.dao.RcTypeSymbolMapper;
import com.dream.technology.db.entity.RcTypeSymbol;
import com.dream.technology.db.entity.RcTypeSymbolQuery;
import com.dream.technology.service.RcTypeSymbolService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("rcTypeSymbolService")
public class RcTypeSymbolServiceImpl implements RcTypeSymbolService{

    @Autowired
    RcTypeSymbolMapper rcTypeSymbolMapper;

    @Override
    public int countByExample(RcTypeSymbolQuery example) {
        return rcTypeSymbolMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(RcTypeSymbolQuery example) {
        return rcTypeSymbolMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(Long id) {
        return rcTypeSymbolMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(RcTypeSymbol record) {
        return rcTypeSymbolMapper.insert(record);
    }

    @Override
    public int insertSelective(RcTypeSymbol record) {
        return rcTypeSymbolMapper.insertSelective(record);
    }

    @Override
    public List<RcTypeSymbol> selectByExample(RcTypeSymbolQuery example) {
        return rcTypeSymbolMapper.selectByExample(example);
    }

    @Override
    public RcTypeSymbol selectByPrimaryKey(Long id) {
        return rcTypeSymbolMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByExampleSelective(RcTypeSymbol record, RcTypeSymbolQuery example) {
        return rcTypeSymbolMapper.updateByExampleSelective(record,example);
    }

    @Override
    public int updateByExample(RcTypeSymbol record, RcTypeSymbolQuery example) {
        return rcTypeSymbolMapper.updateByExample(record,example);
    }

    @Override
    public int updateByPrimaryKeySelective(RcTypeSymbol record) {
        return rcTypeSymbolMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(RcTypeSymbol record) {
        return rcTypeSymbolMapper.updateByPrimaryKey(record);
    }
}
